package cn.txun.csmall.commons.ex;


import cn.txun.csmall.commons.web.ServiceCode;
import lombok.Getter;

/**
 * 处理类别相关请求的控制器类
 *
 * @author java@txun.cn
 * @version 0.0.1
 */
public class ServiceException extends RuntimeException{
    @Getter
    private ServiceCode serviceCode;
    public ServiceException(ServiceCode serviceCode,String message) {
        super(message);
        this.serviceCode = serviceCode;
    }

}
